package core.productrating;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="productrating")
public class ProductRating implements Serializable{
	
	private static final long serialVersionUID = -877834343261247L;
	private Long uuid;
	private String productid ;
	private int rating;
	private String comment;
	
	@Id
	@GeneratedValue
	@Column(name="uuid")
	public Long getUuid() {
		return uuid;
	}
	@Column(name="productid")
	public String getProductid() {
		return productid;
	}
	@Column(name="rating")
	public int getRating() {
		return rating;
	}
	@Column(name="comment")
	public String getComment() {
		return comment;
	}
	public void setProductid(String productid) {
		this.productid = productid;
	}
	public void setRating(int rating) {
		this.rating = rating;
	}
	public void setUuid(Long uuid) {
		this.uuid = uuid;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	
	

}
